const VALUE_KEY = 'searchValue'

const storage = {
  get() {
    return sessionStorage.getItem(VALUE_KEY) || ''
  },
  set(val) {
    sessionStorage.setItem(VALUE_KEY, val)
  },
  remove() {
    sessionStorage.removeItem(VALUE_KEY)
  }
}

export default storage
